#ifndef __BUOLA_CV_CBMDISPARITY_H__
#define __BUOLA_CV_CBMDISPARITY_H__

#include <buola/image.h>
#include <buola/cv/opencv.h>

namespace buola { namespace cvi {

class CBMDisparity
{
public:
    CBMDisparity();
    ~CBMDisparity();

    void CalcDisparity(const img::CView_gray8 &pLeft,const img::CView_gray8 &pRight,
                  const img::CView_gray16 &pDisp);

private:
    CvStereoBMState *mState;
};
                  
/*namespace cvi*/ } /*namespace buola*/ }

#endif
